跳转到主要内容
GET
/
modules
/
id
/
{mid}
/
action
通过 WebSocket 执行模块 `action.sh`
curl --request GET \
  --url http://{host}:{port}/api/v1/superuser/modules/id/{mid}/action \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://oom-wg.dev/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

后端管理密码

同时支持 Authorization: Bearer <password>Authorization: <password>

路径参数

mid
string
必填

模块 ID

查询参数

ws
string

一次性 WebSocket 票证,仅用于 WebSocket 升级

响应

未通过 WebSocket 方式请求或升级请求无效

Last modified on May 28, 2026